<?php
/**
 * Created by PhpStorm.
 * User: ytlmi
 * Date: 2017/11/8
 * Time: 16:14
 */


return [

    //模块导航栏显示内容
    'nav_items' => [
        'index' => 'HOME' . ',' . url('sample_rsv/Index/index'),
        'group' => '委托管理' . ',' . url('sample_rsv/Group/index'),
        'sample' => '样品管理' . ',' . url('sample_rsv/Sample/index'),
        'settings' => '设置' . ',' . url('sample_rsv/Settings/index'),
        'statistics' => '统计' . ',' . url('sample_rsv/Statistics/index')
    ],

    //上传模板标题内容
    'header_group' => [
        'group_name' => '委托名称',
        'unit' => '送检单位',
        'agent_name' => '送检人员',
        'sample_name' => '样品编号',
        'sample_type' => '样品类别',
        'person_name' => '姓名',
        'person_sex' => '性别',
        'person_race' => '民族',
    ],
    'construct' => [
        'group_name' => 'group_name',
        'unit' => 'unit',
        'agent_name' => 'agent_name',
        'sample' => [
            'sample_name' => 'sample_name',
            'sample_type' => 'sample_type',
            'person_name' => 'person_name',
            'person_sex' => 'person_sex',
            'person_race' => 'person_race'
        ]
    ],
    //上传模板首行非空
    'require_once_group' => [
        'group_name',
        'unit',
    ],
    //上传模板全程非空
    'require_always_group' => [
        'sample_name'
    ],

];